package main

import (
	"fmt"
	"tools_go/infrastructure/redis/redisService"
	"tools_go/repository/mysql/service/studentService"
)

func testRedis() {
	redisService.SetStr("tttt", 1111111, 30)
	fmt.Println(redisService.GetStr("tttt"))
}

func testMysql() {
	fmt.Printf("studentService.QueryById(1): %v\n", studentService.QueryById(1))
}

func main() {
	testRedis()
	testMysql()
}
